package com.example.vue_serve.service;

import com.example.vue_serve.entity.TbUser;
import com.example.vue_serve.entity.TbUserinfo;

import java.util.List;

public interface TbUserService {
    List<TbUser> findAll();

    String add(TbUser user);
    String updateUser(TbUser user);
    String delUser(int id);
    List<TbUser> queryBuName(TbUser user);

    List<TbUser> queryLikeName(TbUser user);
    List<TbUser> queryByTiaojian(TbUser user);
     String login(TbUserinfo userinfo);
}